home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000423_news@watsun.cc.columbia.edu _Mon Mar 29 17:19:28 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA23825
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 29 Mar 1999 17:19:28 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id RAA17227
  7.     for kermit.misc@watsun.cc.columbia.edu; Mon, 29 Mar 1999 17:11:02 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: jf3@my-dejanews.com
  10. Subject: Re: setting up kermit
  11. Date: Mon, 29 Mar 1999 21:55:21 GMT
  12. Organization: Deja News - The Leader in Internet Discussion
  13. Message-ID: <7doss4$vi6$1@nnrp1.dejanews.com>
  14. To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. Frank-
  17.  
  18. I had tried DIAL earlier and while I could use it when I was manually dialing
  19. and everything worked (I could interact with the paging service), when I put
  20. it into a script it would dial, but then it seemed the the next OUTPUT
  21. statement would not send anything out.    My terminail would say something like
  22. "call ended at time:day".  Then it would redial and try again.
  23.  
  24. However, when I put in the "set carrier-watch off", the whole thing works like
  25. a charm!  Thanks for your help!!
  26.  
  27. Jeremy T. Finke
  28. System Administrator
  29. University of Evansville
  30.  
  31. In article <7dohoo$61d$1@newsmaster.cc.columbia.edu>,
  32.   fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote:
  33. > In article <7doh16$k8c$1@nnrp1.dejanews.com>,  <jf3@my-dejanews.com> wrote:
  34. > : Ok here is some information that I figured out....
  35. > :
  36. > : THis is my script:
  37. > : ------------------------------------------------------------
  38. > : set input timeout proceed
  39. > : set modem hayes
  40. > : set dial dial-command atdt%s\{13}
  41. > : set dial display on
  42. > : set local-echo on
  43. > : set duplex full
  44. > : set line /dev/cua/b
  45. > : set speed 19200
  46. > : set parity even
  47. > : set script echo
  48. > : echo
  49. > : clear
  50. > : goto main
  51. > : :tryagain
  52. > : echo Trying again\7\13
  53. > : hangup
  54. > : :main
  55. > : OUTPUT ATDT9,4250824\13
  56. > : INPUT 40 CONNECT
  57. > : IF FAILURE GOTO tryagain
  58. > : INPUT 15 ID=
  59. > : OUTPUT M\13
  60. > : INPUT 15 ID,
  61. > : OUTPUT 4353389\13
  62. > : INPUT 15 essage
  63. > : OUTPUT uagent is running on spruce fir cedar willow and poplar\13
  64. > : hangup
  65. > : exit
  66. > : ---------------------------------------------------------
  67. > :
  68. > : If I type in the first half by hand (all of the set statements) and then I
  69. > : type dial 94250824.  It works like a charm and I can get it and manually do
  70. > : all of the things that my script does. However if I manually type in the
  71. > : OUTPUT ATDT line then I get the same error message:
  72. > :
  73. > : ?Connection on /dev/cua1 is not open.
  74. > : ?Connection on /dev/cua1 is not open.
  75. > : Trying again
  76. > :
  77. > : So that would say to me that there is a problem with the OUTPUT line??  Does
  78. > : this make sense??  Has the scripting changed from version 6 to 7??
  79. > :
  80. > There is a difference between OUTPUT and DIAL.  DIAL is special because it
  81. > does not require the carrier signal to be present on the serial device; after
  82. > all, how can it be, since the connection has not yet been made?
  83. >
  84. > OUTPUT, on the other hand, does require carrier unless you first tell it not
  85. > to with "set carrier-watch off".
  86. >
  87. > Why not just use the DIAL command?
  88. >
  89. > - Frank
  90. >
  91.  
  92. -----------== Posted via Deja News, The Discussion Network ==----------
  93. http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own